package com.cucn.ingmall.product.dao;

import com.cucn.ingmall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 *
 * @author kouchaojie
 * @email kou1688@foxmail.com
 * @date 2021-11-17 16:27:04
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    /**
     * 关联更新分类数据
     *
     * @param catId 分类id
     * @param name  分类名字
     */
    void updateCategory(@Param("catId") Long catId, @Param("name") String name);
}
